package org.csu.canteen.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("account")
public class Account {
    @TableId(value = "userid")
    private String username;

    private String email;

    @TableField(value = "firstname")
    private String firstName;

    @TableField(value = "lastname")
    private String lastName;

    private String status;

    @TableField(value = "addr1")
    private String address1;

    @TableField(value = "addr2")
    private String address2;

    private String city;//城市

    private String state;//州、省

    private String zip;//邮政编码

    private String country;

    private String phone;

}
